package com.sqf2023.primary;

import java.util.Scanner;

public class function
{
    public static boolean judge(int x)
    {
        if(x % 2 == 0)
        {
            return false;
        }
        else
        {
            return true;
        }
    }
    public static void main(String[] sqrs)
    {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        //判断
        if(judge(x))
        {
            System.out.println(x + "是奇数");
        }
        else
        {
            System.out.println(x + "是偶数");
        }

    }


    /*
    //求1~n的和
    public static int sub(int n)
    {
        int sum = 0;
        for (int i = 0; i < n; i++)
        {
            sum += i;
        }
        return sum;
    }
    public static void main(String[] sqrs)
    {
        System.out.println("请输入要求和的最大值区间");
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        //求和
        int sum = sub(n);
        System.out.println(sum);
    }
     */
}
